package org.wk.user.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.data.domain.Page;
import org.wk.account.domain.bao.SubAccountBaoSeq;
import org.wk.core.common.view.ResponseVo;
import org.wk.user.domain.UserPromoteRelation;

public interface UserPromoteRelationService {


    /**
     * 新增推广关系
     * @param promoter 推广人
     * @param bePromoter 被推广人
     * @return
     */
    boolean addRelationship(String promoter, String bePromoter);
    
    /**
     * @Description 我的团队
     * @Param [jsonObject]
     * @author ZhaoPing'an
     * @Date 2018/5/21 12:28
     */
    ResponseVo myTeam(int pageNum, int pageSize);
}
